dxp-ux

(0 reviews)

TMF-629 SecurityQuestion (Digital Website)

This API is used to update Security Questions for PIN reset towards Salesforce

URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/customer/{id}
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
idstringIdentifier of the Customer. msisdn in this caseY
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
cURL request
curl --location --request PATCH 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/customer/242566' \
--header 'client_id: abcde' \
--header 'client_secret: 12345' \
--header 'X-Correlation-ID: 5478-asdf5454-sad545-sear545dsf-54e5d4g' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "updateCustomerAccount",
    "statusReason": "updateCustomerQuestionnaire",
    "engagedParty": {
        "id": "123456745",
        "@referredType": "Individual",
        "name": "msisdn"
    },
    "characteristic": [
        {
            "name": "Questionnaire",
            "valueType": "array",
            "value": [
                {
                    "id": "1",
                    "value": "someone"
                },
                {
                    "id": "3",
                    "value": "hometown"
                },
                {
                    "id": "6",
                    "value": "good"
                },
                {
                    "id": "10",
                    "value": "Blue"
                },
                {
                    "id": "11",
                    "value": "Travel"
                }
            ]
        },
        {
            "name": "sourceSystem",
            "value": "Digital"
        }
    ]
}'
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
statusstringUsed to track the lifecycle status of the customer. Ex : updateCustomerAccountY
statusReasonstringA string providing an explanation on the value of the status lifecycle. Ex: updateCustomerQuestionnaireY
engagedPartyobjectRelated Entity referenceY
engagedParty.idstringUnique identifier of a related entity. msisdn in this caseY
engagedParty.@referredTypestringThe actual type of the target instance when needed for disambiguationY
engagedParty.namestringName of the related entityY
characteristicarrayDescribes the characteristic of a customer.Y
characteristic.namestringName of the characteristicY
characteristic.valueTypestringData type of the value of the characteristicN
characteristic.valueanyValue of the characteristicY

Note: For SYS layers it's necessary to define the elements present in characteristic[] resources

characteristic nametypedescription
QuestionnairearrayHolds information of questionnaire
sourceSystemstringIdentifier of the request source
Response
{
    "status": "Customer Questionnaire Update Success",
    "engagedParty": {
        "id": "123456745",
        "@referredType": "Individual",
        "name": "msisdn"
    }
}
Definitions

Each of the response parameters is detailed.

nametypedescriptionrequired
statusstringStatus of the requestY
engagedPartyarrayRelated Entity referenceY
engagedParty.idstringUnique identifier of a related entity. msisdn in this caseY
engagedParty.@referredTypestringThe actual type of the target instance when needed for disambiguationY
engagedParty.namestringName of the related entityY

Reviews